import request from '@/utils/request'
// import { LoginParamsType } from './data.d'

// 字典
export const dict = (): Promise<any> => request.get('/platform/dict/selectAllDict')

// 平台入院申请
export const platformApplyFor = (data: any): Promise<any> => request.post('/platformReport/applyJoinPlatform', data)

// 单个文件上传
export const uploadingFile = (data: any, params: string): Promise<any> =>
  request.post(`/common/fileProcessing/upload?path=${params}`, data)
